package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.WorkOrderTemplateRetainEntity;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.saas.domain.entity.WorkOrderTemplateEntity;

import java.util.List;
import java.util.Map;

/**
 * @author Msz
 */
public interface WorkOrderTemplateRetainModel {


    Integer insertBatch(List<WorkOrderTemplateRetainEntity> entities);



    List<WorkOrderTemplateRetainEntity> findEntitys(Map<String, Object> param);


    Integer deleteBatch(List<Long> oldIds,String corpid);


    Integer deleteByAppId(Long appId ,String corpid);


    Integer updateBatch(List<WorkOrderTemplateRetainEntity> entities, String corpid);

}
